import {useStore} from "@/store";

export default function useLoading() {
    const showLoading = useStore.use.showLoading();
    const hideLoading = useStore.use.hideLoading();
    return [showLoading, hideLoading];
}